package hn.cch.microservice.service_consumer_feign.feign.client;


import hn.cch.microservice.service_consumer_feign.entity.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-provider-user")
public interface UserFeignClient {

    @GetMapping(value = "/{id}")
    public User user(@PathVariable(value = "id") Long id);

}
